package cn.itsource.basic.page;

import lombok.Data;

@Data
public class Pageable {
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    //高级查询关键字
    private String keyword;

    public Integer getStartPage(){
        return (this.pageNum - 1)*this.pageSize;
    }
}
